<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      const str = "hello";
      // const str = {
      //   0: "h",
      //   1: "e",
      //   2: "l",
      //   3: "l",
      //   4: "o",
      // };
      console.log(str);
      str[0] = "X";
      console.log(str);
    </script>
  </body>
</html>
